const { get_file_list } = require("../utils/file_tool");
const { BaseCommand } = require("./base");

class FilesCommand extends BaseCommand {
    async execute() {
        const data = this.selfData;
        const ret = get_file_list(
            data.src,
            data.no_glob,
            data.only_file,
            data.real,
        );
        return ret;
    }
}

module.exports = {
    FilesCommand,
};
